Optimal. Leaf size=100 \[ \frac{(3 A c+b B) \tan ^{-1}\left (\frac{\sqrt{c} \sqrt{x}}{\sqrt{b}}\right )}{4 b^{5/2} c^{3/2}}+\frac{\sqrt{x} (3 A c+b B)}{4 b^2 c (b+c x)}-\frac{\sqrt{x} (b B-A c)}{2 b c (b+c x)^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0479337, antiderivative size = 100, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.227, Rules used = {781, 78, 51, 63, 205} \[ \frac{(3 A c+b B) \tan ^{-1}\left (\frac{\sqrt{c} \sqrt{x}}{\sqrt{b}}\right )}{4 b^{5/2} c^{3/2}}+\frac{\sqrt{x} (3 A c+b B)}{4 b^2 c (b+c x)}-\frac{\sqrt{x} (b B-A c)}{2 b c (b+c x)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 781
Rule 78
Rule 51
Rule 63
Rule 205
Rubi steps
\begin{align*} \int \frac{x^{5/2} (A+B x)}{\left (b x+c x^2\right )^3} \, dx &=\int \frac{A+B x}{\sqrt{x} (b+c x)^3} \, dx\\ &=-\frac{(b B-A c) \sqrt{x}}{2 b c (b+c x)^2}+\frac{(b B+3 A c) \int \frac{1}{\sqrt{x} (b+c x)^2} \, dx}{4 b c}\\ &=-\frac{(b B-A c) \sqrt{x}}{2 b c (b+c x)^2}+\frac{(b B+3 A c) \sqrt{x}}{4 b^2 c (b+c x)}+\frac{(b B+3 A c) \int \frac{1}{\sqrt{x} (b+c x)} \, dx}{8 b^2 c}\\ &=-\frac{(b B-A c) \sqrt{x}}{2 b c (b+c x)^2}+\frac{(b B+3 A c) \sqrt{x}}{4 b^2 c (b+c x)}+\frac{(b B+3 A c) \operatorname{Subst}\left (\int \frac{1}{b+c x^2} \, dx,x,\sqrt{x}\right )}{4 b^2 c}\\ &=-\frac{(b B-A c) \sqrt{x}}{2 b c (b+c x)^2}+\frac{(b B+3 A c) \sqrt{x}}{4 b^2 c (b+c x)}+\frac{(b B+3 A c) \tan ^{-1}\left (\frac{\sqrt{c} \sqrt{x}}{\sqrt{b}}\right )}{4 b^{5/2} c^{3/2}}\\ \end{align*}
Mathematica [A] time = 0.104995, size = 91, normalized size = 0.91 \[ \frac{\sqrt{x} \left (\frac{b^2 (A c-b B)}{(b+c x)^2}-\frac{1}{2} (-3 A c-b B) \left (\frac{b}{b+c x}+\frac{\sqrt{b} \tan ^{-1}\left (\frac{\sqrt{c} \sqrt{x}}{\sqrt{b}}\right )}{\sqrt{c} \sqrt{x}}\right )\right )}{2 b^3 c} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.014, size = 95, normalized size = 1. \begin{align*} 2\,{\frac{1}{ \left ( cx+b \right ) ^{2}} \left ( 1/8\,{\frac{ \left ( 3\,Ac+bB \right ){x}^{3/2}}{{b}^{2}}}+1/8\,{\frac{ \left ( 5\,Ac-bB \right ) \sqrt{x}}{bc}} \right ) }+{\frac{3\,A}{4\,{b}^{2}}\arctan \left ({c\sqrt{x}{\frac{1}{\sqrt{bc}}}} \right ){\frac{1}{\sqrt{bc}}}}+{\frac{B}{4\,bc}\arctan \left ({c\sqrt{x}{\frac{1}{\sqrt{bc}}}} \right ){\frac{1}{\sqrt{bc}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.61963, size = 633, normalized size = 6.33 \begin{align*} \left [-\frac{{\left (B b^{3} + 3 \, A b^{2} c +{\left (B b c^{2} + 3 \, A c^{3}\right )} x^{2} + 2 \,{\left (B b^{2} c + 3 \, A b c^{2}\right )} x\right )} \sqrt{-b c} \log \left (\frac{c x - b - 2 \, \sqrt{-b c} \sqrt{x}}{c x + b}\right ) + 2 \,{\left (B b^{3} c - 5 \, A b^{2} c^{2} -{\left (B b^{2} c^{2} + 3 \, A b c^{3}\right )} x\right )} \sqrt{x}}{8 \,{\left (b^{3} c^{4} x^{2} + 2 \, b^{4} c^{3} x + b^{5} c^{2}\right )}}, -\frac{{\left (B b^{3} + 3 \, A b^{2} c +{\left (B b c^{2} + 3 \, A c^{3}\right )} x^{2} + 2 \,{\left (B b^{2} c + 3 \, A b c^{2}\right )} x\right )} \sqrt{b c} \arctan \left (\frac{\sqrt{b c}}{c \sqrt{x}}\right ) +{\left (B b^{3} c - 5 \, A b^{2} c^{2} -{\left (B b^{2} c^{2} + 3 \, A b c^{3}\right )} x\right )} \sqrt{x}}{4 \,{\left (b^{3} c^{4} x^{2} + 2 \, b^{4} c^{3} x + b^{5} c^{2}\right )}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.09444, size = 111, normalized size = 1.11 \begin{align*} \frac{{\left (B b + 3 \, A c\right )} \arctan \left (\frac{c \sqrt{x}}{\sqrt{b c}}\right )}{4 \, \sqrt{b c} b^{2} c} + \frac{B b c x^{\frac{3}{2}} + 3 \, A c^{2} x^{\frac{3}{2}} - B b^{2} \sqrt{x} + 5 \, A b c \sqrt{x}}{4 \,{\left (c x + b\right )}^{2} b^{2} c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]